package cn.classTest.mall.service;

import cn.classTest.mall.domain.Goods;
import cn.classTest.mall.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface GoodsService {
     PageInfo<Goods> query(QueryObject qo);
    List<Goods> selectAll();

    Goods selectOne(Long id);

    void saveOrUpdate(Goods goods);
}
